package com.ruoyi.system.course.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约私教记录对象 service_course_res_private_teach
 * 
 * @author Administrator
 * @date 2021-03-06
 */
public class ServiceCourseResPrivateTeach extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 私教名称 */
    @Excel(name = "私教名称")
    private String teacherName;

    /** 私教价格 */
    @Excel(name = "私教价格")
    private BigDecimal teacherPrice;

    /** 预约人 */
    @Excel(name = "预约人")
    private String resName;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setTeacherPrice(BigDecimal teacherPrice) 
    {
        this.teacherPrice = teacherPrice;
    }

    public BigDecimal getTeacherPrice() 
    {
        return teacherPrice;
    }
    public void setResName(String resName) 
    {
        this.resName = resName;
    }

    public String getResName() 
    {
        return resName;
    }
    public void setResTime(Date resTime) 
    {
        this.resTime = resTime;
    }

    public Date getResTime() 
    {
        return resTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherName", getTeacherName())
            .append("teacherPrice", getTeacherPrice())
            .append("resName", getResName())
            .append("resTime", getResTime())
            .toString();
    }
}
